﻿#pragma once
#include <stdint.h>
#include <string>
#include <memory>
#include<vector>
enum class FormatCode {
	None = 0,
	PriceFormat,
	PercentFormat,

};

struct Factor {
	uint32_t id;
	std::string code;//英文代号
	std::string name;//中文名称
	FormatCode format;
	//FactorF f;//factor由其他对象管理
	//FactorInitF init_f;
	uint8_t category;
};

struct FactorCondition {
	std::vector<float> args;
	std::shared_ptr<Factor> factor;
};